﻿using System;
using System.Collections.Generic;
using System.Text;

namespace ALMDDD.Consul.ConsulModel
{
    /// <summary>
    /// 服务注册选项
    /// </summary>
    public class ConsulServiceOption
    {
        /// <summary>
        /// 服务名称
        /// </summary>
        public string ServiceName { get; set; }
        /// <summary>
        /// 版本号
        /// </summary>
        public string Version { get; set; }

        public ConsulRegistryConfig Consul { get; set; }
        /// <summary>
        /// 健康监测
        /// </summary>
        public string HealthCheckTemplate { get; set; }
        public string[] Endpoints { get; set; }
    }
}
